Optimal. Leaf size=195 \[ \frac {2 (b x)^{7/2} (c+d x)^n \left (\frac {d x}{c}+1\right )^{-n} \left (63 c^2 f^2-14 c d e f (2 n+11)+d^2 e^2 \left (4 n^2+40 n+99\right )\right ) \, _2F_1\left (\frac {7}{2},-n;\frac {9}{2};-\frac {d x}{c}\right )}{7 b d^2 (2 n+9) (2 n+11)}-\frac {2 f (b x)^{7/2} (c+d x)^{n+1} (9 c f-d e (2 n+13))}{b d^2 (2 n+9) (2 n+11)}+\frac {2 f (b x)^{7/2} (e+f x) (c+d x)^{n+1}}{b d (2 n+11)} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.12, antiderivative size = 195, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 4, integrand size = 22, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.182, Rules used = {90, 80, 66, 64} \[ \frac {2 (b x)^{7/2} (c+d x)^n \left (\frac {d x}{c}+1\right )^{-n} \left (63 c^2 f^2-14 c d e f (2 n+11)+d^2 e^2 \left (4 n^2+40 n+99\right )\right ) \, _2F_1\left (\frac {7}{2},-n;\frac {9}{2};-\frac {d x}{c}\right )}{7 b d^2 (2 n+9) (2 n+11)}-\frac {2 f (b x)^{7/2} (c+d x)^{n+1} (9 c f-d e (2 n+13))}{b d^2 (2 n+9) (2 n+11)}+\frac {2 f (b x)^{7/2} (e+f x) (c+d x)^{n+1}}{b d (2 n+11)} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 64
Rule 66
Rule 80
Rule 90
Rubi steps
\begin {align*} \int (b x)^{5/2} (c+d x)^n (e+f x)^2 \, dx &=\frac {2 f (b x)^{7/2} (c+d x)^{1+n} (e+f x)}{b d (11+2 n)}+\frac {2 \int (b x)^{5/2} (c+d x)^n \left (-\frac {1}{2} b e \left (7 c f-2 d e \left (\frac {11}{2}+n\right )\right )-\frac {1}{2} b f (9 c f-d e (13+2 n)) x\right ) \, dx}{b d (11+2 n)}\\ &=-\frac {2 f (9 c f-d e (13+2 n)) (b x)^{7/2} (c+d x)^{1+n}}{b d^2 (9+2 n) (11+2 n)}+\frac {2 f (b x)^{7/2} (c+d x)^{1+n} (e+f x)}{b d (11+2 n)}+\frac {\left (63 c^2 f^2-14 c d e f (11+2 n)+d^2 e^2 \left (99+40 n+4 n^2\right )\right ) \int (b x)^{5/2} (c+d x)^n \, dx}{d^2 (9+2 n) (11+2 n)}\\ &=-\frac {2 f (9 c f-d e (13+2 n)) (b x)^{7/2} (c+d x)^{1+n}}{b d^2 (9+2 n) (11+2 n)}+\frac {2 f (b x)^{7/2} (c+d x)^{1+n} (e+f x)}{b d (11+2 n)}+\frac {\left (\left (63 c^2 f^2-14 c d e f (11+2 n)+d^2 e^2 \left (99+40 n+4 n^2\right )\right ) (c+d x)^n \left (1+\frac {d x}{c}\right )^{-n}\right ) \int (b x)^{5/2} \left (1+\frac {d x}{c}\right )^n \, dx}{d^2 (9+2 n) (11+2 n)}\\ &=-\frac {2 f (9 c f-d e (13+2 n)) (b x)^{7/2} (c+d x)^{1+n}}{b d^2 (9+2 n) (11+2 n)}+\frac {2 f (b x)^{7/2} (c+d x)^{1+n} (e+f x)}{b d (11+2 n)}+\frac {2 \left (63 c^2 f^2-14 c d e f (11+2 n)+d^2 e^2 \left (99+40 n+4 n^2\right )\right ) (b x)^{7/2} (c+d x)^n \left (1+\frac {d x}{c}\right )^{-n} \, _2F_1\left (\frac {7}{2},-n;\frac {9}{2};-\frac {d x}{c}\right )}{7 b d^2 (9+2 n) (11+2 n)}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.15, size = 146, normalized size = 0.75 \[ \frac {2 x (b x)^{5/2} (c+d x)^n \left (\frac {d x}{c}+1\right )^{-n} \left (\left (63 c^2 f^2-14 c d e f (2 n+11)+d^2 e^2 \left (4 n^2+40 n+99\right )\right ) \, _2F_1\left (\frac {7}{2},-n;\frac {9}{2};-\frac {d x}{c}\right )-7 f (c+d x) \left (\frac {d x}{c}+1\right )^n (9 c f-d (e (4 n+22)+f (2 n+9) x))\right )}{7 d^2 (2 n+9) (2 n+11)} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [F] time = 0.96, size = 0, normalized size = 0.00 \[ {\rm integral}\left ({\left (b^{2} f^{2} x^{4} + 2 \, b^{2} e f x^{3} + b^{2} e^{2} x^{2}\right )} \sqrt {b x} {\left (d x + c\right )}^{n}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b x\right )^{\frac {5}{2}} {\left (f x + e\right )}^{2} {\left (d x + c\right )}^{n}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [F] time = 0.13, size = 0, normalized size = 0.00 \[ \int \left (b x \right )^{\frac {5}{2}} \left (f x +e \right )^{2} \left (d x +c \right )^{n}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (b x\right )^{\frac {5}{2}} {\left (f x + e\right )}^{2} {\left (d x + c\right )}^{n}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.01 \[ \int {\left (e+f\,x\right )}^2\,{\left (b\,x\right )}^{5/2}\,{\left (c+d\,x\right )}^n \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________